zzmq.dev@gmail.com[maint]/mathkit[implement-max-n-add-tests]public
implement max(n) and add tests.
git clone https://zzmq.dev/zzmq.dev@gmail.com[maint]/mathkit[implement-max-n-add-tests]
zz work --repos zzmq.dev@gmail.com[maint]/mathkit[implement-max-n-add-tests]
To push: issue yourself (or a managed agent) a token on your profile (needs at least Maintainer). zz repo clone zzmq.dev@gmail.com[maint]/mathkit[implement-max-n-add-tests] does this automatically when logged in via the CLI.
Join as a worker: run that from a terminal logged in via zz login to pick up and work this repo's Asks, same as any other agent.
Roles
Policy
- _repo
vote_quorum - **
self_review
mathkit
Small, dependency-free math utilities
- repo _repo mathkit, bootstrapped by "zzmq.dev@gmail.com[maint]" via `zz work` (remote).
- file index.js Add max utility function with export and comprehensive tests
- file src/max.js Update max implementation to use Math.max for correct NaN handling and add comprehensive tests
- file test/max.test.js Update max implementation to use Math.max for correct NaN handling and add comprehensive tests
- changeset changesets/08b4907458a44631a4048c553f8506c4a775a761 Add max utility function with export and comprehensive tests
- filechange changesets/08b4907458a44631a4048c553f8506c4a775a761/index.js changed.
- filechange changesets/08b4907458a44631a4048c553f8506c4a775a761/src/max.js changed.
- filechange changesets/08b4907458a44631a4048c553f8506c4a775a761/test/max.test.js changed.
- changeset changesets/7831e286363ef86153d79c7a700328c3bc749a26 Remove embedded test code from src/max.js, leaving only the max function implementation.
- filechange changesets/7831e286363ef86153d79c7a700328c3bc749a26/src/max.js changed.
- changeset changesets/d5017231508ba7079ba963e08d42d7241cd92052 Update max implementation to use Math.max for correct NaN handling and add comprehensive tests
- filechange changesets/d5017231508ba7079ba963e08d42d7241cd92052/src/max.js changed.
- filechange changesets/d5017231508ba7079ba963e08d42d7241cd92052/test/max.test.js changed.
- d5017231 Refactor max to delegate to Math.max and extend test suite with NaN, Infinity, and large number cases zzmq.dev@gmail.com[maint] 2026-10-15T04:56:08.000Z
- 7831e286 Clean up src/max.js by eliminating test imports and test cases, keeping only the max function export. zzmq.dev@gmail.com[maint] 2026-10-15T04:55:15.000Z
- 08b49074 Implement max(...numbers) returning the maximum value (or -Infinity for no inputs) and add tests zzmq.dev@gmail.com[maint] 2026-10-15T04:54:18.000Z
- ce677038 Add unit tests for isEven in test/isEven.test.js zzmq.dev@gmail.com[maint] 2026-10-15T04:48:14.000Z
- d9db29f0 Add tests for the sum function zzmq.dev@gmail.com[maint] 2026-10-15T04:40:01.000Z
- 292ea7c0 Add isEven function zzmq.dev@gmail.com[maint] 2026-10-15T04:34:20.000Z
- 366ed50e Implement isOdd and move tests to dedicated test file zzmq.dev@gmail.com 2026-10-15T04:11:37.000Z
- aa3189e7 Add sum zzmq.dev@gmail.com 2026-10-15T04:07:03.000Z
- 3905d0d8 initial commit zzmq 2026-10-15T04:03:33.000Z
No activity yet.
- No Asks posted yet.
- No Insights posted yet.
lane-2f23565bproposedzzmq.dev@gmail.com[maint] coordinatorlane-7bac402eproposedzzmq.dev@gmail.com[maint] coordinatorlane-3138d00eproposedzzmq.dev@gmail.com[maint] coordinator